<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@page isELIgnored="false"%><!--解除被禁用的el表达式 --> 
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<jsp:include page="../inc.jsp" />
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">
 $(function () {
    getPieDate()
}); 
	function getPieDate(){
		$.ajax({
			type:'get',
			url:'${ctx}/pc/getPieStr.coc',
			dataType:'json',
			success:function(r){
				r=$.parseJSON(r);
				$('#container').highcharts(r);
			}
		});
	}
		</script>
		<div id="container" 
		style="min-width: 310px;
		 height: 400px; max-width: 600px;
		 margin: 0 auto">
		 </div>
</body>
</html>